//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Saturday','5/4/2024','2:00 PM','5758520','Beautiful--The-Carole-King-Musical-5-4-2024'],['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Saturday','5/4/2024','7:30 PM','5758521','Beautiful--The-Carole-King-Musical-5-4-2024'],['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Sunday','5/5/2024','2:00 PM','5758522','Beautiful--The-Carole-King-Musical-5-5-2024'],['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Thursday','5/9/2024','7:30 PM','5758523','Beautiful--The-Carole-King-Musical-5-9-2024'],['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Friday','5/10/2024','7:30 PM','6160852','Beautiful--The-Carole-King-Musical-5-10-2024'],['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Saturday','5/11/2024','2:00 PM','5758524','Beautiful--The-Carole-King-Musical-5-11-2024'],['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Saturday','5/11/2024','7:30 PM','5758525','Beautiful--The-Carole-King-Musical-5-11-2024'],['Beautiful: The Carole King Musical','Palace Theatre - NH','Manchester, NH','Sunday','5/12/2024','2:00 PM','5758526','Beautiful--The-Carole-King-Musical-5-12-2024'],['Shake It Off: Taylor and Friends Dance Party','Palace Theatre - NH','Manchester, NH','Friday','5/17/2024','7:30 PM','6314211','Shake-It-Off--Taylor-and-Friends-Dance-Party-5-17-2024'],['Shake It Off: Taylor and Friends Dance Party','Palace Theatre - NH','Manchester, NH','Saturday','5/18/2024','2:00 PM','6314212','Shake-It-Off--Taylor-and-Friends-Dance-Party-5-18-2024'],['Shake It Off: Taylor and Friends Dance Party','Palace Theatre - NH','Manchester, NH','Saturday','5/18/2024','7:30 PM','6314213','Shake-It-Off--Taylor-and-Friends-Dance-Party-5-18-2024'],['Debby Holiday - Tina Turner Tribute','Palace Theatre - NH','Manchester, NH','Tuesday','5/21/2024','7:00 PM','6190759','Debby-Holiday---Tina-Turner-Tribute-5-21-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Friday','5/31/2024','7:30 PM','5758494','42nd-Street-5-31-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/1/2024','2:00 PM','5758495','42nd-Street-6-1-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/1/2024','7:30 PM','5758496','42nd-Street-6-1-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Sunday','6/2/2024','2:00 PM','5758497','42nd-Street-6-2-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Friday','6/7/2024','7:30 PM','5758498','42nd-Street-6-7-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/8/2024','2:00 PM','5758499','42nd-Street-6-8-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/8/2024','7:30 PM','5758500','42nd-Street-6-8-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Sunday','6/9/2024','2:00 PM','5758501','42nd-Street-6-9-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Friday','6/14/2024','7:30 PM','5758502','42nd-Street-6-14-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/15/2024','2:00 PM','5758503','42nd-Street-6-15-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/15/2024','7:30 PM','5758504','42nd-Street-6-15-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Sunday','6/16/2024','2:00 PM','5758505','42nd-Street-6-16-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Thursday','6/20/2024','7:30 PM','5758506','42nd-Street-6-20-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Friday','6/21/2024','7:30 PM','5758507','42nd-Street-6-21-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/22/2024','2:00 PM','5758508','42nd-Street-6-22-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Saturday','6/22/2024','7:30 PM','5758509','42nd-Street-6-22-2024'],['42nd Street','Palace Theatre - NH','Manchester, NH','Sunday','6/23/2024','2:00 PM','5758510','42nd-Street-6-23-2024'],['Nick Lowe and Los Straitjackets','Palace Theatre - NH','Manchester, NH','Friday','6/28/2024','7:30 PM','6314206','Nick-Lowe-and-Los-Straitjackets-6-28-2024'],['Alice in Wonderland Jr.','Palace Theatre - NH','Manchester, NH','Friday','7/5/2024','7:00 PM','6314203','Alice-in-Wonderland-Jr--7-5-2024'],['Alice in Wonderland Jr.','Palace Theatre - NH','Manchester, NH','Saturday','7/6/2024','11:00 AM','6314204','Alice-in-Wonderland-Jr--7-6-2024'],['Newsies Jr.','Palace Theatre - NH','Manchester, NH','Friday','7/26/2024','7:00 PM','6314207','Newsies-Jr--7-26-2024'],['Newsies Jr.','Palace Theatre - NH','Manchester, NH','Saturday','7/27/2024','11:00 AM','6314208','Newsies-Jr--7-27-2024'],['Wizard of Oz Youth Edition','Palace Theatre - NH','Manchester, NH','Friday','8/16/2024','7:00 PM','6314209','Wizard-of-Oz-Youth-Edition-8-16-2024'],['Wizard of Oz Youth Edition','Palace Theatre - NH','Manchester, NH','Saturday','8/17/2024','11:00 AM','6314210','Wizard-of-Oz-Youth-Edition-8-17-2024'],['Willy Wonka Kids','Palace Theatre - NH','Manchester, NH','Saturday','8/24/2024','12:00 PM','6314205','Willy-Wonka-Kids-8-24-2024']],'Palace Theatre New Hampshire','http://www.ticketnetwork.com/ticket/Palace-Theatre-New-Hampshire-events.aspx');